﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SwaggerSdk
{
    public class PageReq
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int page { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int rows { get; set; }
        /// <summary>
        /// 排序字段 name desc
        /// </summary>
        public string orderby { get; set; }
        /// <summary>
        /// 搜索内容
        /// </summary>
        public string key { get; set; }
    }

    public class RspPage<T>
    {
        public int total { get; set; }
        public int page { get; set; }
        public int records { get; set; }
        public List<T> rows { get; set; } 
    }

    
}
